import {createRouter, createWebHashHistory} from "vue-router";

import Index from '../pages/index.vue'
import About from '../pages/about.vue'
import Mine from '../pages/mine.vue'

const routes = [
    {
        path: "/home",
        name: "home",
        component: Index
    },
    {
        path: "/about",
        name: "about",
        component: About
    },
    {
        path: "/mine",
        name: "mine",
        component: Mine
    }
]
export const router = createRouter({
    history: createWebHashHistory(),
    routes: routes
})